package com.example.chunqiubackend.service;

import com.example.chunqiubackend.pojo.User;

import java.time.LocalDateTime;

public interface UserService {

    //根据邮箱查询用户
    User findByEmail(String email);

    //注册
    void register(String email, String passwd,LocalDateTime update_time, LocalDateTime create_time);

    //修改密码
    void uppasswd(String email,String new_passwd,LocalDateTime update_time);
}
